package com.mc.read.pcApi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ComponentScan(value="com.mc")
@MapperScan("com.mc.read.dao.mapper")
@ServletComponentScan
@EnableTransactionManagement
@EnableAutoConfiguration
//@EnableAutoConfiguration(exclude = {MultipartAutoConfiguration.class})
//注册中心为eureka的话 推荐用EnableEurekaClient 其他的注册中心用EnableDiscoveryClient
//@EnableEurekaClient
//@EnableDiscoveryClient
//标记为feign启动
//@EnableFeignClients
public class ReadApplication {

    public static void main(String[] args) {
        SpringApplication.run(ReadApplication.class, args);
    }

}
